|
Multipage reports FastReport report can consist of several pages. You can adjust such parameters as size and orientation for each page, as well as to place different objects and bands on it. When constructing a report, all bands from the first page will be displayed, then the bands from the second one, etc. When a user creates a new report in the designer, it already contains one page by default. You can add a new page by clicking on the
One can easily switch between pages by clicking on the required bookmark. Moreover, bookmarks can be dragged ("drag&drop"), thus easily modifying order of pages. An unnecessary page can be deleted with the help of the
Number of pages in a report is unlimited. As a rule, additional pages are used either for previewing title pages, or in more complicated reports, those which contain data from many sources. Let us examine a simple example of title page creation. Let us use the report with one data level, which we have built before. Add a new page to it, and thus it would be the second page. To move it to the top of the report, seize the page bookmark with the help of the mouse, and then drag it to the place near the first page. At that, the pages order will be changed. Let us switch to a new page and place the "Text" object (with the "Our report" text inside) in the middle of the page. That is all; the report with a title page is finished:
It is necessary to focus attention on one feature of multipage reports. If the "Print to previous page" option is enabled in the second page (use the "PrintToPreviousPage" property in the object inspector), then the second page objects will start printing not from a new list, but on the white space of the previous one. This allows to print the pages’ contents "line-to-line." |